///sdse_action Button

#ifndef BUTTON_H
#define BUTTON_H

#include "guiElement.h"

class Button : public GuiElement {
public:
    Button(std::string _type, std::string _name, Object* _object);
    
    void run();
    
    virtual CEGUI::Window* makeWindow(CEGUI::WindowManager* windowManager);
    
    void updateText(Var val);
    
    bool onClick(const CEGUI::EventArgs& args);
};

#endif
